package cn.swjtuhc.ss.hljapi.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @author 程序狗没有春天
 * @version 1.00
 * @createTime 2024/8/24 23:20
 */
@Data
@TableName(value = "essay")
public class Essay {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String content;
    private Integer type;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private String picture;
    private String cover;
}
